# Maintainer: Dekedro <dekedro@protonmail.com>
pkgname=ircdog
pkgver=0.5.4
pkgrel=0
pkgdesc="Tool for connecting to IRC servers and sending and receiving raw IRC protocol lines"
url="https://github.com/ergochat/ircdog"
arch="all"
license="ISC"
makedepends="go"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/ergochat/ircdog/archive/refs/tags/v$pkgver.tar.gz"

build() {
	go build
}

check() {
	go test ./...
}

package() {
	install -Dm755 "$builddir"/ircdog "$pkgdir"/usr/bin/ircdog
}

sha512sums="
fddf22ba0cdffd29dfe24627d48b54e40f2eab2b02bb0fad8dab303d4da3b5dbbe1ff329a0426066447fc40b521e02905626f28145217b2bf98b520583ed025e  ircdog-0.5.4.tar.gz
"
